package hbase.DemoTest;

import java.util.Random;

public class Test {

    public static int generateRandomAge() {
        Random random = new Random();
        return random.nextInt(61) + 18;
    }
    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
            int age = generateRandomAge();
            System.out.println(age);
        }

    }
}
